package com.huajx.tuopuda.client.udp;

import com.huajx.core.udp.UDPClient;
import com.huajx.core.udp.annonation.MinaClient;
import com.huajx.core.udp.config.UDPClientConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @program: di-parent
 * @description:
 * @author: lisa 叶新华
 * @create: 2019-10-06 19:53
 */
@MinaClient(port = 60000, name = "attendance")
public class AttendanceClient implements UDPClient {

    private final static Logger logger = LoggerFactory.getLogger(TuopudaClient.class);
    public static final int DEFAULT_PORT = 60000;
//    public static final String DEFAULT_IP = "192.168.1.3";

    private boolean isRunning;

    @Override
    public void start() {
        if(isRunning) {
            return;
        }

//        AttendanceDatabase.me().
    }

    @Override
    public void stop() {

    }

    @Override
    public boolean isRunning() {
        return isRunning;
    }

    @Override
    public void config(UDPClientConfig config) {

    }
}
